inp = input('Please enter a paragraph: ')

word = input('Please enter a common word: ')

flag = 100
while flag >= 0:
    flag = inp.find(word)
    if flag == -1:
        break
    print('Found bell at position ', flag)
    inp = inp.replace(word,'BELL',1)
    print(inp)






    # of the bells, bells, bells-- To the tolling of the bells.
